package com.yckj.activechicken.business.purchase.mapper.comp;

import com.yckj.activechicken.business.purchase.model.PurApplyBill;
import com.yckj.activechicken.business.purchase.model.vo.PurApplyGoodsBillVo;
import com.yckj.activechicken.business.purchase.model.vo.PurApplyTaskVo;

import java.util.List;
import java.util.Map;

public interface PurApplyBillMapperComp {

    /**
     * 查询申请单
     * @param purApplyBill
     * @return
     */
    List<PurApplyBill> selectPurApplyBillList(PurApplyBill purApplyBill);

    /**
     * 查询申请单具体货品清单
     * @param purApplyBill
     * @return
     */
    List<PurApplyGoodsBillVo> selectGoodsBillList(PurApplyBill purApplyBill);

    /**
     * 分页查询当前用户的审批历史信息，记录信息
     * @param queryMap
     * @return
     */
    List<PurApplyTaskVo> selectApplyApprovalHisList(Map<String,String> queryMap);
}